package com.yuyou.hxyy.service.api.vo.req;

import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * Created by Administrator on 2018/9/4.
 */
public class ReqUpdateAuthUser {


    @NotNull(message="authUserId 不能为空")
    @ApiModelProperty(value = "用户id", required = true)
    private Long authUserId;

    /**
     * 帐号
     */
    private String account;

    /**
     * 密码
     */
    private String password;

    /**
     * 名字
     */
    @ApiModelProperty(value = "姓名 ", required = false)
    private String username;

    /**
     * 头像url
     */
    private String headImg;

    /**
     * 联系电话
     */
    private String phone;

    /**
     * 身份证
     */
    private String idCard;

    @ApiModelProperty(value = "性别 0：男 1：女 ", required = false)
    private Integer sex;

    @ApiModelProperty(value = "年级 ", required = false)
    private Integer section;

    /**
     * 登录失败次数
     */
    private Integer loginErr;


    /**
     * 帐号状态 0:禁用 1:正常
     */
    private Integer status;

    /**
     * 用户类型，0：学生，1：管理员
     */
    private Integer userType;


    public Long getAuthUserId() {
        return authUserId;
    }

    public void setAuthUserId(Long authUserId) {
        this.authUserId = authUserId;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getHeadImg() {
        return headImg;
    }

    public void setHeadImg(String headImg) {
        this.headImg = headImg;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public Integer getSection() {
        return section;
    }

    public void setSection(Integer section) {
        this.section = section;
    }

    public Integer getLoginErr() {
        return loginErr;
    }

    public void setLoginErr(Integer loginErr) {
        this.loginErr = loginErr;
    }


    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getUserType() {
        return userType;
    }

    public void setUserType(Integer userType) {
        this.userType = userType;
    }

}
